how to view the committed files those you have not pushed yet
-
for example i commit some files, next day some more files, and so on, after some days i want to view all my committed files, and view its difference with remote repo. Note i have not Push any thing. just want to verify that if i push some thing then will goes to remote repo.
-
Answer:
Here you'll find your answer. http://stackoverflow.com/questions/231211/using-git-how-do-i-find-modified-files-betwen-local-and-remote/231223#231223
Usman Ali at Stack Overflow Visit the source
Other answers
The push command has a -n/--dry-run option which will compute what needs to be pushed but not actually do it. Does that work for you?
Noufal Ibrahim
git diff HEAD origin/master Where origin is the remote repository and master is the default branch where you will push. Also, do a git fetch before the diff so that you are not diffing against a stale origin/master. P.S. I am also new to git, so in case the above is wrong, please rectify.
N 1.1
Assuming you're on local branch master, which is tracking origin/master: git diff --stat origin/master..
bstpierre
Related Q & A:
- How To View Facebook Pictures?Best solution by Yahoo! Answers
- How To View Tagged Photos On Facebook?Best solution by facebook.com
- How To View Facebook Without Account?Best solution by Yahoo! Answers
- How to view and copy hidden files and folders in Linux?Best solution by Server Fault
- How do I get .jar files and .jad files on my phone?Best solution by ehow.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.