Skip to content

viv-garot/learningGit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

learningGit

Instructions

  • Fork repo from GitHub UI

image

  • Clone repo to the local machine
git clone clone https://github.com/viv-garot/learningGit.git
  • Create and checkout branch on local machine
git checkout -b newbranch 
  • Add a remote pointing to the original repo you have forked on
git remote add upstream https://github.com/torgaskillmap/learningGit.git
  • Do the codes changes locally
 Edit file, add screenshots, ...
  • Push the changes from the newbranch to the remote fork
git push origin newbranch
  • Create PR on GitHub from fork/branch into org/main

image

  • Merge the PR on GitHub

image

  • Download changes from the original repo to the local clone repo
git pull upstream main
  • Push those changes to the remote forked repo
git push origin main

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published