I have small problem. Recently started using gitKraken to test how it works (thinking of moving from sourcetree). From what I understood it is more like "raw" git command. SourceTree does things for me like auto tag pushing (ok, found that it allows for not recommended --tags
option)
My problem are tags. I tested it on console and it seems to be related to pushing tags.
git push origin
- pushes changes
git push origin 1.0.0
- pushes tag
Here, everything is OK. My coworkers see changes and can pull it.
git push origin 1.0.0
- I push tag only, without commit (How is this possible?)
It is visible on Repository (on BitBucket site) like a normal commit - with comment and ID. However commit cannot be downloaded from bitbutcket via git pull since it states it is up-to-date
I have a feeling that it looks like
git push origin
= git push origin
git push origin 1.0.0
= git push some-special-place
How exactly does it work? I can see all changes on BitBucket site.
Moreover I can download commited tag without commiting chnages and result I get is latest normally commited. Which can lead to problems in case I use API/Site to download repo copy, as it is not aligned with real changes
EDIT If My local commits are A-B-C-D(tag)
and remote are A-B-C
then BitBucket Interface shows me (after commiting a tag only) A-B-C-D
and does not state that HEAD
is on C
Instead of D
. That's what I thought I downlaod latest commit, but in reality What I was downloading was HEAD
Also, to note: Removing tag from remote removie uncommited commits - like they were never there in first place.
GitKraken nor source tree does not inform about changes not being commited.
Edit: Commiting only tag shows real changes (patch summary) in web interface. Commit looks exactly as real one.