tagged [git]
Clone only one branch
Clone only one branch I would like to know how I could clone only one branch instead of cloning the whole Git repository.
How to merge remote changes at GitHub?
How to merge remote changes at GitHub? I'm getting following error, whn trying first Github push: ``` [rejected] master -> master (non-fast forward) error: failed to push some refs to 'git@github.com:...
Problems with entering Git commit message with Vim
Problems with entering Git commit message with Vim OS: Windows I write then > "# Please enter the commit message" I write some text, like > "Form validation added" Press Enter and not commited. Then i...
Permission denied error on Github Push
Permission denied error on Github Push Recently, I'm added as a member/contributor for Github project. I have cloned that project on local machine. I have made some changes and committed locally and n...
git checkout master error: the following untracked working tree files would be overwritten by checkout
git checkout master error: the following untracked working tree files would be overwritten by checkout I have a git repository. It has A B C D E ... commits. Now I want to checkout D as a new branch n...
- Modified
- 1 Aug at 08:44
In Git, what is the difference between origin/master vs origin master?
In Git, what is the difference between origin/master vs origin master? I know, is a term for the remote repository and is the branch there. I am purposely omitting the "context" here and I am hoping t...
- Modified
- 9 Aug at 00:24
Git merge reports "Already up-to-date" though there is a difference
Git merge reports "Already up-to-date" though there is a difference I have a git repository with 2 branches: master and test. There are differences between master and test branches. Both branches have...
How do you revert to a specific tag in Git?
How do you revert to a specific tag in Git? I know how to revert to older commits in a Git branch, but how do I revert back to a branch's state dictated by a tag? I envision something like this: Is th...
git: rename local branch failed
git: rename local branch failed I don't know why my attempt of renaming local branch failed. I basically cloned the project, then I also have a submodule within the project, and I downloaded the submo...
how to reset develop branch to master
how to reset develop branch to master I have `develop` & `master` branches, my `develop` branch is messy now and i would like to reset it and make it as a copy of my `master`. i'm not sure if merging ...
- Modified
- 26 Aug at 04:36
How do I remove files saying "old mode 100755 new mode 100644" from unstaged changes in Git?
How do I remove files saying "old mode 100755 new mode 100644" from unstaged changes in Git? For some reason, when I initially did a pull from the repository for a git project of mine, I got a ton of ...
git commit -m vs. git commit -am
git commit -m vs. git commit -am Seems easy but I just don't get it. I am in the root of my application. Here is my workflow. This usually works. All my changes are pushed. But sometimes I have a file...
How to push changes to github after jenkins build completes?
How to push changes to github after jenkins build completes? I have a jenkins job that clones the repository from github, then runs the powershell script that increments the version number in the file...
GitLab git user password
GitLab git user password I have just installed GitLab. I created a project called project-x. I have created few users and assigned it to the project. Now I tried to clone: It prompted me for a passwor...
Put current changes in a new Git branch
Put current changes in a new Git branch I've been editing some modules on the master branch but I haven't committed them. I'm now thinking that these changes should really be on an experimental branch...
- Modified
- 1 Dec at 14:38
How to push a single file in a subdirectory to Github (not master)
How to push a single file in a subdirectory to Github (not master) I have changed a single file in a subdirectory of my repository and I want to push just that file to Github. I've made a small chang...
- Modified
- 27 Dec at 01:24
Undo a merge by pull request?
Undo a merge by pull request? Someone accepted a pull request which they shouldn't have. Now we have a bunch of broken code merged in. How do you undo a pull request? I was just going to revert the ch...
- Modified
- 6 Jan at 02:4
Is there a migration tool from CVS to Git?
Is there a migration tool from CVS to Git? I intend to switch over from CVS to Git. In the case of SVN, there seems to be `cvs2svn`. Is there a similar tool to easily migrate from CVS to Git?
- Modified
- 19 Jan at 18:51
Git push error: Unable to unlink old (Permission denied)
Git push error: Unable to unlink old (Permission denied) In the remote server I have a post-receive hook set up in order to make a git checkout of my repository: But when I make a push from my local m...
- Modified
- 23 Jan at 05:49
How to get latest Service Stack v3 build?
How to get latest Service Stack v3 build? Last v3 build published on [nuget.org is 3.9.71](http://www.nuget.org/packages/ServiceStack/3.9.71) - since then there have been lots of fixes that I would li...
- Modified
- 30 Jan at 18:21
Setup a Git server with msysgit on Windows
Setup a Git server with msysgit on Windows My friends and I are trying to setup Git for Windows using the tutorial [Git Server: Gitosis and Cygwin on Windows](http://www.markembling.info/blog/view/git...
Why Git is not allowing me to commit even after configuration?
Why Git is not allowing me to commit even after configuration? This question seems like a duplicate but it's really not. Just a slight difference that keeps on repeating. git keeps on telling me: "ple...
Change a Git remote HEAD to point to something besides master
Change a Git remote HEAD to point to something besides master How do I set a Git remote's HEAD reference to point to something besides "master"? My project has a policy not to use a "master" branch (a...
- Modified
- 3 Feb at 00:57
Transfer git repositories from GitLab to GitHub - can we, how to and pitfalls (if any)?
Transfer git repositories from GitLab to GitHub - can we, how to and pitfalls (if any)? Can one transfer repositories from GitLab to GitHub if the need be. If so, how exactly can I go about doing the ...
- Modified
- 8 Mar at 06:47