I m facing a weird problem with submodules in a bare repo. I illustrate what I did. I have a repo which contains 4 modules. It looks like this- *Superepo (top level repo)- I added following submodules to this repo: mod_1,mod_2,mod_3 and mod_4 (internal submodules). After that I created a bare repo from this Superepo […]
I’am planning to create a git in my own server, but I need to know if its possible to create it and backup the final version of all the code to dropbox This git will be in my own personal server Thanks
I’m new to creating git hooks. I’ve successfully created a local git hook but I am having a hard time figuring out how to install a server side hook on Bitbucket. I’ve tried using a plugin called External Hooks and making a External Pre Receive Hook, but that results in my push to Bitbucket being […]
I currently have a rails project running of a git tag v2.1.2, to get here id did git checkout v2.1.2 However there are now new fix’s that have been applied to the 2.1 branch, how do I move to this branch rather than the tag?
With git is possible to jump back to early versions of a project. Now, to work with these early versions, they depend often on old versions of libraries. Is it possible to circumvent problems like these: /opt/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/gem_dependency.rb:220:in `specification’: can’t activate haml (= 2.1.0, runtime), already activated haml-3.0.18 (Gem::Exception)
I have a git server (gitosis) on a Ubuntu box (10.10).I use a macpro at work, and a macpro at home as my dev computer. I would like to check out the projects on my laptop (running windows 7) I was able to copy my ssh key from my work computer and import it into […]
I have a couple very similar looking folders on my machine that correspond to different repositories stored on github. How can I check the git address that a specific folder corresponds to?
In vscode 1.15.0 all my git commits use the wrong author email @localhost while the correct committer email address is used (git version 2.11.0 (Apple Git-81) on macOS 10.12.6). My configuration is as follows: I clone & push the via ssh keys (from and to github) Global user.name = Michael Jordan Global user.email = email@example.com […]
for make a rebase normaly I make $ git checkout branchA $ git rebase master $ git checkout master $ git merge branchA ok. my problem is with my fork from other repo, I add three commits and when I make git pull –rebase otherRepo master get otherRepo commits and my commits go to HEAD […]
I have master and a branch (b1) on my local machine. Is it possible to push b1 to remote bare, without merging b1 to master? And then pull from bare, into another repository?