Linked Questions

5 votes
4 answers
17k views

I have a repository. ("git init") I've done check-ins and commits and logs and stuff. But, how can I remove all traces of git and delete git off this directory (and subdirectories)? I'm on Ubuntu.
TIMEX's user avatar
  • 275k
1 vote
1 answer
762 views

I'm trying to send someone a copy of the current state of one branch on my Git repository. He doesn't have access to the repository itself and doesn't need version control history. I would also like ...
zaen's user avatar
  • 326
2 votes
0 answers
553 views

Possible Duplicate: How to do a “git export” (like “svn export”) I have a bare git repository that I created using "git clone --bare". This is a repository where I push ...
ossys's user avatar
  • 4,217
2 votes
1 answer
215 views

I have a local Git repository and all I want to do is copy all of the files from a particular revision to a folder outside of the working directory. I was assuming that it would just be a single ...
LaughingJohn's user avatar
0 votes
1 answer
118 views

I have committed many files in different directorys using intellij and git. How to download these committed files with their directories structure?
user1167753's user avatar
1001 votes
15 answers
1.2m views

I want to remove all version tracking from a project's directory. What is the correct method to do this? Can I do a shell command such as: rm -rf .git from my projects directory or is there a way ...
daustin777's user avatar
  • 12.8k
157 votes
22 answers
184k views

If you right click on a folder, you will see a "Clean" menu item. I assumed this would clean (remove) the obj and bin directory. However, as far as I can see, it does nothing. Is there another way? (...
tom7's user avatar
  • 4,202
185 votes
11 answers
260k views

I want to use something similar to: git checkout -- <path>/<file> but I want to checkout the file to some folder I choose, rather than the overwriting the local <path>/<file>. ...
Rafid's user avatar
  • 20.5k
227 votes
4 answers
128k views

After cloning a remote repository it does not show any remote branch by -a option. What could be the problem? How to debug it? In this snippet two of the remote branches are not shown: $ git clone --...
minghua's user avatar
  • 6,723
96 votes
14 answers
92k views

I would like to get a list of modified and added files in an specific commit so that I can export them and generate a package with the file structure. The idea is to get the package and extract it on ...
Michael Kuhinica's user avatar
181 votes
8 answers
165k views

I want to clone a GIT repo and NOT end up with a .git directory. In other words I just want the files. Is there a way to do this? git clone --no-checkout did the exact opposite of what I want (gave ...
Dan Rosenstark's user avatar
91 votes
9 answers
144k views

I have a folder under version control. I want to make a copy of it to send around, but don't want to include all the .git directories and the files underneath it. Is there a way to remove all the ...
user291701's user avatar
68 votes
10 answers
48k views

I'd like to export from github remote repository, not cloning it. Similar to svn export, I do not want to get .git folder with it. I can work around it by cloning and removing .git folder. I wonder if ...
Adrian Gunawan's user avatar
53 votes
5 answers
80k views

Sometimes I need to perform following command cp -rv demo demo_bkp However I want to ignore all the files in directory .git . How do I achieve that? It takes a long time to copy .git files and I do ...
Nick Vanderbilt's user avatar
41 votes
6 answers
34k views

i'd like to just checkout the files without the .git files and the whole repository. It's because i'd like to manage a website (php & html) with git and i'm looking for an easy way to update the ...
Max's user avatar
  • 413

15 30 50 per page
1
2 3 4 5 6