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)
- Exploring Cybersecurity Challenges in Cloud Computing - January 14, 2025
- How to save 80% of the Treatment Cost using Medical Tourism? - January 13, 2025
- Best AI tools and websites to travel blogger or travel video & audio creator - January 12, 2025