Posts

CODEOWNERS :::

 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++  +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ You can use a CODEOWNERS file to define individuals or teams that are responsible for code in a repository. People with admin or owner permissions can set up a CODEOWNERS file in a repository. Code owners are automatically requested for review when someone opens a pull request that modifies code that they own. For code owners to receive review requests, the CODEOWNERS file must be on the base branch of the pull request. For example, if you assign  @octocat  as the code owner for  .js  files on the  gh-pages  branch of your repository,  @octocat  will receive review requests when a pull request with changes to  .js  files is opened between the head branch and  gh-pages . CODEOWNERS file size CODEOWNERS files must be under 3 MB in size. A CODEOWNERS file over this limit wil...

GIT / GITHUB : Authentication

Image
 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Using Personal Access Tokens with GIT and GitHub  +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ The Access token is been generated from the GitHub repository. Tried ping  $ ping github.com  This was giving an error. So I added couple of name servers in the /etc/resolv.conf   /etc/resolv.conf nameserver      63.xxx.x.xx nameserver      63.xxx.x.xx And now the ping was successful and now the clone worked. We recommend you use fine-grained personal access tokens to authenticate to the GitHub API. curl -u USERNAME:TOKEN https://api.github.com/user curl -u sbalakrishn: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 https://github.com/8x8/auto_pow-dns-rec-SRJ.git +++Finally this worked :  https://docs.github.com/en/rest/overview/other-authentication-methods Via personal access tokens curl -u USERNAME:TOKEN https://...

GitHub : Troubleshooting

 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++  +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ On GitHub had the following error There isn’t anything to compare. master and feature/godsword are entirely different commit histories. git checkout [BRANCH]    git branch master [BRANCH] -f    git checkout master    git push origin master -f   -- Last command worked   Removing remote repository branch [root@cmptest01-cc dns-new-one]# git push origin --delete feature/godsword To https://github.com/8x8/testing-powerdns-ansible-SRJ.git

Git Commands : Tags

 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Topic : Tags :  Reference : https://git-scm.com/book/en/v2/Git-Basics-Tagging >>> Listing Your Tags $ git tag v1.0 v2.0 >>> You can also search for tags that match a particular pattern. The Git source repo, for instance, contains more than 500 tags. If you’re interested only in looking at the 1.8.5 series, you can run this:  $ git tag -l "v1.8.5*" v1.8.5 v1.8.5-rc0 v1.8.5-rc1 v1.8.5-rc2 v1.8.5-rc3 v1.8.5.1 v1.8.5.2 v1.8.5.3 v1.8.5.4 v1.8.5.5 >>> Creating Tags Git supports two types of tags: lightweight and annotated . A lightweight tag is very much like a branch that doesn’t change — it’s just a pointer to a specific commit. Annotated tags, however, are stored as full objects in the Git database. They’re checksummed; contain the tagger name, email, and date; have a tagging message; ...

GIT CheetSheet

 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++   +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++   Pull a particular branch from GitHub  Serviceconnetor is the branch name git clone -b serviceconnector https://github.com/8x8/auto_gitops_oci_workspaces_tree_main.git

GIT - Company

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Large Files error - solution https://docs.github.com/en/repositories/working-with-files/managing-large-files/configuring-git-large-file-storage     +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++  PS C:\Users\sreejith_b\Desktop\OCI_Tech_Hippa> git remote rm origin PS C:\Users\sreejith_b\Desktop\OCI_Tech_Hippa> git remote add origin https://sbalakrishn:SuperBite666#333@github.com/8x8/oci-terraform-hippa-bucket.git PS C:\Users\sreejith_b\Desktop\OCI_Tech_Hippa> git remote rm origin                                             PS C:\Users\sreejith_b\Desktop\OCI_Tech_Hippa> git remote -v                                               ...
Image
 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Git and GitHub for Beginners - Crash Course - YouTube Installing Git :  Install Git | Atlassian Git Tutorial Visual Studio : Download and Install :  Visual Studio Code - Code Editing. Redefined  +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ What is Git ? Git is what we call a version control system , It is an open source and free and the mostly used version control system in development today . Programmer interact with Git on a daily basis . What is Version Control ? Version control is basically a way were we programmers track our code changes .  We basically save our initial version of code into Git . And when we update code we can save it into Git Again and again and over time we can look into all the code changes we have made over time . This helps us to see what we did when , this helps us to track down bugs and as well as to go back to the previous ver...