Git is an open-source DVCS (Distributed Version Control System).

learn more… | top users | synonyms | git jobs

-1
votes
0answers
13 views

How Does Github andor Bitbucket Store git Repositories?

i have an app that i use in my writing, i then usually take the text from the app and copaste it into a file in a git repository, i write like this because I am fascinated by manuscripts such as ...
2
votes
1answer
18 views

Revert all commits by a specific author since specific time

I want to revert all commits by a specific author since 4 days ago. How do I do it? To get all sha1s (with a bit of noise) I can use this: git log --author=Mohsen --pretty=one --since=4.days
0
votes
0answers
30 views

How can I maintain 2 versions of site with git&

I heve developed some site with some functionality and some basic pages like about us, contacts and some pages for SEO. It is in git repository. And now I want to make a copy of this site with other ...
1
vote
0answers
11 views

git-push errors out with failed to read object

I have a new repo at github. I am trying to push my local repo to github for the first time. I am getting the following error. $git push -u origin master fatal: failed to read object ...
0
votes
0answers
6 views

Deployment with local Git submodules

Here is the current setup. I have a: Central Git repository (origin) on a network drive Working copy on my local hard drive Repository on the web server to deploy project to I use a submodule to ...
2
votes
0answers
10 views

Merging multiple Git repositories with tags

I am working with a number of different Git repos that will need to be merged together. The workflow would look like this: git remote add fork1 ... git remote add fork2 ... git fetch fork1 git fetch ...
1
vote
2answers
33 views

How do I remove deleted branch names from autocomplete?

I used git branch -d myBranch to delete a branch. However, when I am on master and try to checkout a new branch with git checkout, myBranch still appears in the tab-autocomplete. How do I remove the ...
1
vote
1answer
17 views

Git init with option for auto-creation of a default .gitignore

There is a previous post about automatically adding .gitignore, but how would you specify in git init an option which indicates the corresponding .gitignore to add upon git init? (In other words, be ...
0
votes
0answers
8 views

Restore deleted file directly from Eclipse local history

Some git mistakes happened and I lost a lot of changes for one file. I was using Eclipse as my IDE but the git mishap included deleting the project and re cloning the directory. So I can't do the ...
0
votes
0answers
11 views

CocoaPods issues when copy repo folder

I have pulled a repo from Github and now I am trying to copy or zip the repo on my Mac. I need copy the repo to create a backup and use it without cloning over and over again if I need a clean copy. ...
0
votes
1answer
8 views

github GUI client /dev/tty: Device not configured

I have this pre-commit hook in .git/hooks/pre-commit #!/bin/bash for file in `git diff --name-only` do if [[ $file =~ /pom\.xml$ ]]; then exec < /dev/tty read -p "Committing $file is ...
1
vote
2answers
41 views

Shell script helper for git commits

I'm trying to write a simple shell script that simplifies the git commit process. Instead of git add . -A git commit -m "message" git push I want to do commit.sh "my commit message" Here's what I ...
1
vote
1answer
22 views

Best practise for partial including git repository?

I would like to include the src folder of git repository 1 into a subfolder of repository 2. The Why: Following the Sencha Touch conventions, repository 1's src folder should be at ...
0
votes
0answers
11 views

Trying to get git / jenkins working

I am using GIT plugin for Jenkins. I have put SSH keys in the .jenkins/.ssh directory. I have also been able to clone projects using the terminal no problem. I am not prompted for a password. When ...
0
votes
1answer
7 views

Custom change-id in gerrit

Is it possible to have a 'custom' change-id in a gerrit commit message? For example, - My commit message Change-Id: BM10945 Where BM10945 is the bluemine ticket the change is for. I keep getting ...

1 2 3 4 5 1965
15 30 50 per page