XCode 4.2 and Local git repository
I have a project I have been adding files to regularly and noticed recently that only some of the files are being managed by the local git repository. In other words, when I modify some of the files, there is no indication of source control status (like 'M').
The files that are exhibiting this behavior are ones created by making copies of existing files in the project outside of XCode. For example, I would go out to finder and make a copy of a file already in the project, rename it, and go back into XCode and add the file to the project.
When I right-click on these files in XCode and choose Source Control, every menu item is grayed out. I can't even add them to source control.
I have a feeling that copying a file already in the project caused a problem, but I have no idea how to fix it. I have read that I can recursively remove source control from a project by issuing a bash command, but I would really rather not lose the source control history I already have.
Thanks in advance for your help.
I have cloned a project from a server using git clone and I now want to copy it (all branches) to another server so other people can start using it. I guess I could simply copy the entire repository m
Here is the initial situation: A bare Git repository on a remote server A development Git repository on a local machine Then the remote server crashes. I keep committing changes into my local reposi
Can somebody, please, point me to the way of how can I deploy artefacts into the local repository to test deploy scenario? The thing is that we use nexus as remote repository and I wonder if it is pos
I am working on a local project and I want to sync that project with two different git repos. I added the project, committed and pushed on one repo. but when i am pushing in second repo, It is giving
I have just started using Git for my Xcode projects. I am working on one project, and I have imported another Git repository as a submodule. The files of the submodule are imported into my working cop
Possible Duplicate: How to quickly set up Git for teams using Xcode? I have an Xcode project folder on my Mac HD. Snow Leopard. The GitX GUI expects that I already have an Git repository. So I guess
I have an existing bare git repository located in /home/myaccount/git/project. I am currently using it over ssh from my local machine without any problems. I want to add a second user on the server wh
I'm trying to clone an existing git repository by giving Xcode the url (repository is in codebasehq). The url looks like: firstname.lastname@example.org:company/project/repository.git But Xcode can't clone becau
Okay, I made a mess. I have a SVN repository with my code and I have a local git repository in which I usually work, branch, etc.. I used to commit things from time to time from git into SVN using git
I've looked around StackOverflow and other places (including Git documentation) and just cannot get this to work. Here's what i've done: To setup central repository (on //SomeUNC); git init --bare Cen
I installed (successfully) gitosis. I want to use it at my debian (rootserver) to access my Xcode projects (and merge, etc.). I'm able to clone the git repo with Xcode successfully, but if I try to pu
This question already has an answer here: Force Git to overwrite local files on pull 25 answers I want to sync the local branch with the remote git branch. I tried to do git pull but it fails w
I have a bare git repository that I've been using for backups. Every time I commit on the local copy, I push it to the bare repository. Git goes through and pushes the objects without any errors. Toda
I am quite new to git but the advantages to use it are quite clear! I have been developing for iOS and I have created some custom class of mine that I share among several projects, I would like to kee
Hear me out! I have a local folder with all the code that is the latest version. This same version of code is present in a master branch in a remote git repository. Now I want to initialize git locall
I installed a Git repository through the Apple App (Server) everything works correctly up to here no problem. For error in my Xcode project I deleted some files, now I want to restore all my deleted f
Basically am writing a crontab task that checks my remote git repository every 1 minute. If there is changes, it pulls them (to the local repo), go through each commit and does runs a grunt selenium t
Totally new to Capistrano. I have a local git repository that I want to publish to my remote server. I've followed other answers here and came up with this configuration: require 'bundler/capistrano'
This is what I'm doing: git init // initialize repository git add foo.bar // adds foo.bar to the repository git commit -m commit message // commits the added files git status // status of repository
If I am using only the git commands to access a remote git repository, is there any possibility where I might accidentally corrupt it. For e.g. in a local repository case, accidentally running a find
I'm trying to clone a git repository onto my local machine, but it is saying malloc failed because the repository is too big. Does anyone know the exact rsync command I could use to copy over the d
I have a remote git repository on bitbucket (it's private, so I can't share a link here, I'm afraid)... I have a couple of branches there, two of them are: master cert_creation Yesterday I was in th
I have open source project in Git repository. In the project, I'm using source code of another open source project. That code is stored in Git repository subfolder. I'd like to add the SVN repository
I would like to run a local Monticello HTTP repository at work, so that we can share code easily among colleagues. Is there a way to run something similar to SmalltalkHub privately? EDIT: I have tried
I'm not that well versed in using git, but have been using Xcode and a local repository on my machine. All seemed well, until today when I was trying to free up some space on my HDD. I noticed that in
I have added some files to svn repository during initial revisions. But now, those files are gone and that was done by removing them directly in xcode 4.2. But they still exist in svn and I want to up
I'm trying to refine a personal git workflow to something a little easier to deal with. Here's some background of how I'm using git for purposes of this post: A single developer who is the only one w
Git allows to create a shared repository amongs a group: git --bare init --shared=group However - how can I change already existing repository to shared? I don't want to re-git-init it.
How can I create an archive of the current repository including local uncommitted changes using git archive?
At work we use svn on the server but I am using git locally (via git-svn) to make use of the speed/branching/commits that aren't ready to share etc. This is working fine but I'm uncomfortable having c
I have been using Xcode to develop and publish apps for almost a year. I have been using git as the local repository and bitbucket as the remote repository. Everything has been going fine until this m
I like to use either git or svn for my Xcode projects, but need to be able to access them from outside e.g. from another machine somewhere. So I need a repository somewhere, but I don't want to use an
xCode upgrade blues. The upgrade went fine and smooth except for Git. When I try to commit, I get this message: The repository project name could not be reached. Please verify that the repository
I've read this for setting up a local Satis server, I've managed to do it and see the web view on my virtual host. Now, I have two projects listed there, one requires the other. On another project I r
Is there any way to use a git repository with the built in SCM functions of Xcode?
I'm new to Jenkins and git too. I created a remote repository at github.com and made a local copy of it. Then I want to link it through Jenkins. I installed needed plugins for git integration, but I d
GitX seems to need an already-set-up repository, so although it seems to be the best GUI for Git, it is incomplete. I still need to create the project repository manually in the console. Whats the fas
My git repository was suddenly broken. I had been working as usual, but when I typed in git status to see my changes, it said: error: inflate: data stream error (incorrect data check) fatal: object 0d
I tried to make a new bare git repository but I get this error: Max:Git-Projekte max$ git clone --bare . ~/Dropbox/Git-Projekte/Mainpage.git Cloning into bare repository '/Users/max/Dropbox/Git-Projek
I am new to git. I have a few local commits but I want to pull the latest code from the repository and don't yet want to push mine. However git pull, creates unnecessary merges. What is the right way
I have a simple deployment via capistrano from a Git repository. I wanted to change the repository I was working with so I basically just changed set :repository, email@example.com:new_repository Bu
I have just create a git repository on my iMac under the user git account and am now want to clone it from my main user account on the same computer. I have created my SSH key and added it to the .ssh
I have a git repository on a remote server that I can SSH to. The remote repository is non-bare. I cloned the remote repository to my local machine. How can I tell the remote server to pull changes fr
One of the side-effects of using an external Subversion repository was getting automatic offsite backups on every commit. I'd like to achieve the same using Git. i.e. every commit to my local reposit
I'm working on a specialized standalone server for imageboards, and have the local git repository folder as my development/testing folder. Is it possible to push a local file to the repository with a
Possible Duplicate: Rolling back local and remote git repository by 1 commit How can I remove the last commit from a remote GIT repository such as I don't see it any more in the log? If for example
This is driving me crazy. I created a git repository in a Linux server hosted by my hosting company. I cloned it to a local copy using Eclipse EGit. I then created a branch in the original git reposit
I want to create a git repository and allow all users to have access to it. I tried initializing it by: git init --shared=all However when I change the user and do a git status, I get the following e
We just started using git in production at our company and everyone seems to have the same concern/issues. Since we are still getting the hang of using git, we frequently end up messing up our local r
This is an organizational question for iOS and OSX developers. When you are using the automatically generated git repository for an Xcode project, how do you add/commit your non-project files such as