Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Key Points

...

Reference_description_with_linked_URLs_______________________Notes______________________________________________________________
m Github Hello World Tutorial
https://git-scm.com/docsGIT docs **

git-cheat-sheet-education

git-cheat-sheet-education.pdf


getting-started-with-git/about-remote-repositories
git-clone-branch-how-to-clone-a-specific-branch
oracle-use-git-repositories.html
github-4-dummies-v2-2023    linkgithub-4-dummies-v2-2023




https://guides.github.com/activities/hello-world/Github basics - example
m Github Hello World Tutorial

Annotated version of Github Hello World tutorial





https://help.github.com/en/github/authenticating-to
-github/connecting-to-github-with-ssh
Github connection setup with SSH


https://desktop.github.com/

download Github desktop

Github Desktop docs  clone, fork etc   





https://github.com/pricingGithub pricing options - individual   team   enterprise
https://developer.github.com/v3/repos/Github repo APIs - v3
https://developer.github.com/v3/repos/releases/Github developer api to integrate Github into CICD flows






https://towardsdatascience.com/getting-started-with-git-and-
github-6fcd0f2d4ac6

github-tutorial-towardsdatascience.com-Getting started with
Git and GitHub the complete beginners guide.pdf

Git and Github basics with PR example


Bitbucket


geeksforgeeks--working-on-bitbucket-using-git

geeksforgeeks--working-on-bitbucket-using-git pdf

Good tutorial on using Bitbucket ***
https://www.idalko.com/bitbucket-vs-github/7 reasons Bitbucket better than github
https://www.geeksforgeeks.org/introduction-to-bitbucket/?ref=rpIntroduction to bitbucket




...

git-branching-strategies-flagship.io-GitFlow Github Flow Trunk Based.pdf file

the Git branching model is lightweight compared to other version control systems; this is why it’s so easy and cheap to create branches in Git, as the whole code doesn’t need to be copied to the branch creating a large amount of duplicate files, as opposed to other VCS tools.

Image Modified



Client options to connect to Github 

...


When you set up SSH, you will need to generate a new SSH key and add it to the ssh-agent. You must add the SSH key to your account on GitHub before you use the key to authenticate. For more information, see "Generating a new SSH key and adding it to the ssh-agent" and "Adding a new SSH key to your GitHub account."

To use your SSH key with a repository owned by an organization that uses SAML single sign-on, you must authorize the key. For more information, see "Authorizing an SSH key for use with SAML single sign-on" in the GitHub Enterprise Cloud documentation.



See 

m Linux Remote Access Tools#KeyGenerationforaccesstoremoteservices(Githubetc)

...

Warning! Please do not depend on using Git directly or GET /repos/:owner/:repo/git/refs/:ref for updates to merge Git refs, because this content becomes outdated without warning.

...

One Process to Rebase repos after a repo rename 

Here is the process that I will be following for each repository:

- Use the new Github feature to rename default branch. This automatically re-targets PRs to "main" and updates branch protections rules.

- PR to update master references in CI pipelines, docs, etc

- Update default branch in Azure Pipelines



Once it is done for a repository, each developer that has a local fork will need to perform the following steps to update their local environment, push the main branch to their fork and associate with local main branch, and ensure local main is rebased on the upstream main branch:

git checkout master

git branch -m master main

git fetch origin

git push origin main

git branch -u origin/main main

git fetch upstream

git rebase upstream/main



The steps assume you are following the Github fork and upstream remote instructions here:

https://hyperledger-fabric.readthedocs.io/en/latest/github/github.html



Please let us know if you have any other suggestions or comments.


Bitbucket


Bitbucket intro

https://www.geeksforgeeks.org/introduction-to-bitbucket/?ref=rp

...