https://github.com/sumit-kr-das/git
Basic git command for beginners
https://github.com/sumit-kr-das/git
git github
Last synced: 6 months ago
JSON representation
Basic git command for beginners
- Host: GitHub
- URL: https://github.com/sumit-kr-das/git
- Owner: sumit-kr-das
- Created: 2022-11-12T04:57:12.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-12T06:20:16.000Z (about 3 years ago)
- Last Synced: 2025-06-12T21:13:59.134Z (8 months ago)
- Topics: git, github
- Homepage:
- Size: 4.88 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# How to keep up to date a forked repo

#### Clone the repo first
```git
$ git clone
```
#### Check the remote origin
```git
$ git remote -v
```
#### Add a new upstream
- upstream mean where you get the update from
```git
$ git remote add upstream
```
#### Check the new upstream
```git
$ git remote -v
```
#### For update origin with changes that happened in upstream
- or pull down all the remote changes from upstream
- they are not merge with our local changes
```git
$ git fetch upstream
```
#### For merge with local file
```git
$ git merge upstream/dev
```