I was working on some feature development using Git. In between I have got some urgent bug, so needed to switch on develop branch
from feature/2.8.0
. So to do that I run following commands (from shell history):
2002 git status
2003 git stash
2004 git checkout develop
2005 git status
2006 git pull
2007 git pull origin develop
Now here is my git status
:
$ git status
# On branch develop
# Your branch is ahead of 'origin/develop' by 1 commit.
# (use "git push" to publish your local commits)
#
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# src/lib/eval/prvl_listed_securities_0000_hxx0401_init.erl
# src/lib/eval/prvl_listed_securities_0000_hxx0401_proc.erl
# src/view/eval/prvl_listed_securities_0000_hxx0401.html
nothing added to commit but untracked files present (use "git add" to track)
Here, I can see following lines :
> # On branch develop
> # Your branch is ahead of 'origin/develop' by 1 commit.
> # (use "git push" to publish your local commits)
From history, I haven't committed anything, How can I check what are my local commits needs to push?