Communities for your favorite technologies. Explore all Collectives
Ask questions, find answers and collaborate at work with Stack Overflow for Teams.
Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Explore Teams
Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Get early access and see previews of new features.
This should work in bashBash, from a working directory. I've used it in windowsWindows with unixutils installed.:
svn info |grep Revision: |cut -c11-
This should work in bash, from a working directory. I've used it in windows with unixutils installed.
This should work in Bash, from a working directory. I've used it in Windows with unixutils installed:
svn info %* |grep Revision: |cut -c11-
Note that %* is batch-file for "all arguments" - not sure what the bash equivalent is. Anyway, you see the method I'm using :)
%*
This should work in bash. I've used it in windows with unixutils installed.