I found two ways to get the latest tag but what is difference, if there is
a difference?
Solution 1:
git describe --tags $(git rev-list --tags --max-count=1)
Solution 2:
git for-each-ref refs/tags --sort=-authordate --format='%(refname)'
--count=1 | sed 's/^refs\/tags\///'
--
You received
$git status
Your branch is ahead by x commits
So is there a way to update the SHA in something/develop?
I want to use this in a script, comparing the local branch and remote
branch.
--
Peter van der Does
GPG key: CB317D6E
IRC: Ganseki on irc.freenode.net
Twitter: @petervanderdoes
--
You
real0m5.826s
user0m6.223s
sys 0m0.923s
26365 possibilities on git diff eTABTAB
--
Peter van der Does
GPG key: CB317D6E
Site: http://avirtualhome.com
GitHub: https://github.com/petervanderdoes
Twitter: @petervanderdoes
--
You received this message because you are subscribed
On 07/17/2014 12:12 AM, Ellick Marquez wrote:
Hi everybody,
I want to install git on my computer with ubuntu 12.04 but when I put
the next code sudo apt-get install git on my terminal, it shows me
that the package git was removed or it doesn't exist.
Please help me, I really need to use GIT
with uncrustify if code is not
in your preferred code style?
--
Peter van der Does
GPG key: CB317D6E
Site: http://avirtualhome.com
GitHub: https://github.com/petervanderdoes
Twitter: @petervanderdoes
--
You received this message because you are subscribed to the Google Groups Git
for human
the uncrustify analysis and
depending on the result, you exit the script with 0 if it was ok, and 1
if it was not ok.
If you exit with a 1 the commit will not be done.
--
Peter van der Does
GPG key: CB317D6E
Site: http://avirtualhome.com
GitHub: https://github.com/petervanderdoes
Twitter
g-1
>From github.com:petervanderdoes/Testing
x [deleted] (none) -> origin/bug/bug-1
$ git branch -r
origin/master
$ git branch
* bug/bug-1
master
The branch bug/bug-1 does still exist on github.
Peter
--
Peter van der Does
GPG key: CB317D6E
Site: http://avirtualhome.c