Linked Questions

Score of 0
0 answers
66 views

I have a local git repository. I commit a change using git commit -a and it updates the local repository. So far so good. I would like it so when I do this it also automatically pushes to my remote ...
  • reputation score 537
Score of 6918
36 answers
5487653 views

I have a repo (origin) on a USB key that I cloned on my hard drive (local). I moved "origin" to a NAS and successfully tested cloning it from here. I would like to know if I can change the ...
  • reputation score 601791
Score of 4289
54 answers
3815312 views

How do I get the name of the current branch in Git?
user avatar
Score of 233
14 answers
432517 views

I have cloned my git repository over ssh. So, each time I communicate with the origin master by pushing or pulling, I have to reenter my password. How can I configure git so that I do not need to ...
  • reputation score 14808
Score of 240
5 answers
333604 views

What is the best way to emulate a do-while loop in Bash? I could check for the condition before entering the while loop, and then continue re-checking the condition in the loop, but that's duplicated ...
  • reputation score 11190
Score of 101
15 answers
185046 views

I have a sample sh script in my Linux environment, which basically runs the ssh-agent for the current shell, adds a key to it and runs two Git commands: #!/bin/bash eval "$(ssh-agent -s)" ...
  • reputation score 4146
Score of 189
5 answers
188202 views

Is it possible to use a .netrc file on Windows when I'm using Git to clone a remote repository with HTTP and user - password?
  • reputation score 1955
Score of 78
4 answers
49051 views

Is it possible to make git push after commit automatically? Now I need to click on push after commit manually and this is not very comfortable.
  • reputation score 8329
Score of 26
7 answers
65594 views

I'm creating a job in Jenkins 2.152 running on Windows Server 2016 which needs to pull from a git repo hosted on bitbucket.org. I tested the ssh key through git-bash so I know it works and there is no ...
  • reputation score 1567
Score of 28
4 answers
65297 views

I am working with 5 repos that I have cloned in my development environment. When I want to update a git repo, I enter the folder /home/adrian/repo1/ and do: git checkout master git pull origin ...
  • reputation score 1481
Score of 10
2 answers
11590 views

How do I configure automatic push in Mercurial and Git? Sometimes I forgot to push in a computer, and when I move my location, I'm out of the sync with the good code. Is there a way to mercurial and ...
  • reputation score 4625
Score of 11
2 answers
12278 views

I really want to use GitHub, but my company has everything locked down. Now, I can only use Tortoise SVN through the HTTP protocol. Can I use GitHub the same way? If so, how?
  • reputation score 5268
Score of 7
2 answers
8402 views

When I try to clone a repo I get a git failed with exit code 128. Also when I try to push/pull I get a [email protected] public key denied. In my ~/.ssh folder I have a config file that looks like this:...
  • reputation score 9529
Score of 7
2 answers
4675 views

Complete question rewrite So I thought I was explaining this question very simply and direct but it seems I oversimplified to much, so here is all the extra details. Hopefully this helps everyone see ...
  • reputation score 1046
Score of 3
1 answer
12150 views

I'm using Github to store my projects, and would like to know if there is a way for me to get my repository to automatically update in real time. To clarify what I mean, I'm currently using the good ...
user avatar

15 30 50 per page
1
2 3