Open camilavargasp opened 1 year ago
FYI could be of interest, especially the references: https://github.com/nceas-coding-club/hacky-hour-materials/blob/master/2018-05-08_git-advanced.md
Start with:
git fetch
git rebase
OR
git pull
Then, after you have done your changes:
git add .
git commit -m "message"
git fetch
git rebase
git push
git cherry-pick
allows you to select a specific commit and bring it into the checkout branch. See explanation and examples here
git
commandsgit status
git branch
git branch -r
git branch -a
git checkout name_of_branch
git checkout -b new_branch
git push -u origin
git add .
git commit -m write_a_message_here
reset --hard origin/main
git push -u origin branch-name
git log --graph --all
git push --delete origin branch_name