How 2 Git Repo can share the Committed Code?
How Central Repo is Placed?
List of Git repo Hosting Providers and Their features
FIRST Developer
Step 1 – Register at github.com
Step 2 – Create one Repo
Step 3 – Generate your GITHUB PAT OR SSH Key
Step 4 – Push your code to Github
$ git push https://github.com/devopsschool-demo-temporary/git-demo.git master
$ git push URL master
Second Developer
Step 1 – Register at github.com
Step 3 – Generate your PAT
Step 4 – Clone the repo of “FIRST Developer”
Step 5 – Add and commit your changes in Git
Step 6 – Push your Code into Github
$ git clone https://github.com/devopsschool-demo-temporary/git-demo.git
$ cd git-demo
$ git log
$ start .
$ vi addfile.txt
$ git add --all
$ git commit -m"ading other person"
$ git status
$ git push origin master
FIRST Developer
Step 1 – Pull the code by Second Developer
$ git remote add origin https://github.com/devopsschool-demo-temporary/git-demo.git
$ git pull origin master
Latest posts by Rajesh Kumar (see all)
- Best AI tools for Software Engineers - November 4, 2024
- Installing Jupyter: Get up and running on your computer - November 2, 2024
- An Introduction of SymOps by SymOps.com - October 30, 2024