Git-svn upstream status check

in git-svn repo,

git status 

doesn't show usual

 # On branch master # Your branch is behind 'origin/git-svn' by 1 commits. # nothing to commit (working directory clean) 

Is there a way to configure the upstream in different ways so that the status reflects the remote?

I am currently just running sequentially

 git svn rebase 

to check for changes, but it would be nice to know if I need to reinstall or not in advance.

+4
source share
1 answer

I believe git svn fetch 'will retrieve information without updating the current git branch, which sits ontop in the svn branch. Thus, if you are doing a β€œgit fetch”, it should have information. 'git status' will still not show it by default. But he thinks that gitk and "git svn info" and "git log" will help you figure out how far you are, in fact, do not rebase.

+3
source

Source: https://habr.com/ru/post/1343817/


All Articles