Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
codeschris authored Dec 29, 2024
1 parent e521836 commit 8f66223
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Chill devs learning and working together to be the best

## 1. Git commands to remember
## 1. Essential Git commands

_By [codeschris](https://github.com/codeschris)_

Expand All @@ -12,7 +12,10 @@ _By [codeschris](https://github.com/codeschris)_
- **git branch**:
- (-M branch_name): renaming a branch
- _leave blank_: checking branches available in the repo
- **git remote add origin _https-url-of-project_**: connecting your origin (project in Git) to remote (local project)
- **git remote add origin _https://-url-of-the-project_**: connecting your origin (project in Git) to remote (local project)
- **git push**:
- (-u origin branch_name): pushing to a new branch in origin
- _leave blank_: pushing to existing branch in origin
- **git pull**:
- _leave blank_: Pull new changes to your local repo
- (--allow-unrelated-histories): Allow unrelated histories from a branch that isn't connected/pulling from upstream

0 comments on commit 8f66223

Please sign in to comment.