i get your branch is ahead of master after I pulled from remote master 1

i get your branch is ahead of master after I pulled from remote master

git fetch origin

Here is what the above code is Doing:
1. git init
– Initializes a new git repository in the current directory.
2. git add .
– Adds all files in the current directory to the staging area.
3. git commit -m “Initial commit”
– Commits all files in the staging area to the repository.
4. git remote add origin
– Adds a remote repository to the local repository.
5. git push -u origin master
– Pushes the local repository to the remote repository.
6. git fetch origin
– Fetches the remote repository.

Similar Posts