Git is an open-source DVCS (Distributed Version Control System).
learn more… | top users | synonyms | git jobs
0
votes
2answers
52 views
How can I pre-define commands for when I open a new Git Bash command prompt
I have noticed that on my various (Windows 7) machines running Git that when I open a new Git Bash command prompt I can often access previous commands by pressing the up arrow.
These commands differ ...
2
votes
1answer
39 views
How to get more useful branch diagrams in git?
I sometimes struggle trying to see what was going on in the history of git repositories, even with great tools like SourceTree the branch diagrams can be confusing. The main problem for me is that I ...
1
vote
3answers
34 views
Confused on checking out in Git
I have a trouble understanding the checkout process of Git.
Via cli we do:
git log and the history.
1) How do we know which file/version is the one we want to check out? I only see ...
0
votes
3answers
26 views
push a specific commit from one remote branch to another remote branch
I have 2 remote branches, dev and rls. We are working on the dev branch currently. My rls branch is empty/untouched. I want to move a specific commit(sha-1 hashes) from dev to the rls branch. Please ...
10
votes
11answers
11k views
“Invalid project description”, importing from GIT repo problem
After copying my GIT repo from a PC computer onto my MAC, i can't seem to import it to an eclipse. Import happens via eGit plugin directly from existing local git repository.
Same exact import works ...
2
votes
4answers
189 views
Understanding Git Graphs
I am new to Git and need help understanding Git history graphs, i.e. the relationship between commits and merges as they are displayed on the graph in tools like SmartGit or GitGui. In the image ...
3
votes
2answers
35 views
Can you determine the git version of a file copied from a repo?
I inherited an XCode project that uses code from the CocoaAsyncSocket project (available on GitHub). The files (AsyncSocket.m/h) were copied into the XCode project so I have no git history.
I need to ...
0
votes
2answers
11 views
how to resolve conflict with git after autoformat in Eclipse?
We have two users working on the same class files in two separate git branches.
User A does nothing else but an "autoformat" Ctrl-Sift-F in Eclipse
User B just adds a space in a comment
Now we get ...
61
votes
5answers
14k views
How do you stop tracking a remote branch in git?
I am asking to stop tracking because in my concrete case, I want to delete the local branch but not the remote one. Deleting the local one and pushing the deletion to remote will delete the remote ...
1
vote
1answer
21 views
ObjCMongoDB broken? I can't get it to work
Full Disclosure:
I'm not an educated programmer, and the entirety of my programming experience is in Javascript and Objective-C.
So now you know what you're dealing with. Tread carefully. No ...
1
vote
1answer
14 views
Purge a repository from my Github, using the command line
I clearly understand how to purge a Github repository from my account using the web interface...
But I can't figure out how to perform the same operation from my local command line using a properly ...
-1
votes
0answers
28 views
Why can't I untrack the file in git?
In git,when we I do:
git reset content.docx which file is a file I did git add previously I get:
fatal: Failed to resolve 'HEAD' as a valid ref.
What does this mean? Can't I untrack the file?
3
votes
3answers
89 views
how to pop git stash without triggering an auto-merge
The short version of this question is this: how can I pop the git stash without triggering an auto-merge?
Now for the longer version...
Consider the following toy example of an alternative to git ...
2
votes
3answers
285 views
Git merge doesn't use default merge message, opens editor with default message
How can I force git merge to use the default merge message instead of loading my editor with said message?
I have no editor listed in git config -l, so I'm not sure why it opens an editor.
4
votes
1answer
87 views
Deploy web site via Git
I work on a team of web developers. We each have a personal web site set up in our home directories on the development server.
We want to convert them to git working repos so we can branch, rebase, ...