Change Default Git Location of Xcode

joe_04_04

When I build a project with Xcode, the default git location is fine. I'm able to initiate source control through Xcode like normal. But when I build sessions from other Apps, such as the Projucer, I can't use the custom git location, as it doesn't see all the files. I need to manually create the first git commit in the correct location with:

git init
git add . 
git commit -m "First Commit"

After this, Xcode sees the git repo and as is able to take off from there, and I dont have to use command line after that.

My question is, is there a way to set the default location of git within Xcode? Avoiding commands? Also, are there any visual ways to gitignore files through Xcode? Thank you.

VonC

As illustrated in Setting up a git repository in XCode for a pre-existing project, you would still still those Git commands.

The "Git Create Project" of XCode 7 and 8 would still create a .git in the default location (<root of the project>/.git)

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Git bash change default .ssh location

From Dev

Change default nginx location

From Dev

Change the default journal location

From Dev

Where do Xcode projects get created? And can I change default location of a project?

From Dev

Where do Xcode projects get created? And can I change default location of a project?

From Dev

Change the default location of Pycharm Project

From Dev

Change gitolite logs default location

From Dev

Local deployment — change the default location

From Dev

Change the default program installation location?

From Dev

Xcode 5 Git Local Repository Location

From Dev

Windows ssh default location for idrsa (git install)

From Dev

Command line option to change Xcode DerivedData location

From Dev

Change Simulator Location using Xcode's UITesting

From Dev

How to change View & partial view default location

From Dev

How to change default install location for pip

From Dev

How to change the default Visual Studio project location

From Dev

How to change the default package generation location in xtext?

From Dev

How do I change the default location of mongodb?

From Dev

How to change and remove default library location?

From Dev

Eclipse Tycho change default source location

From Dev

How to change the default location of .vimrc to inside ~/.vim/?

From Dev

Change default location for Explorer opened via hotkey

From Dev

Change default user configuration file location

From Dev

Change default location download of browser by javascript ?

From Dev

Change default location of document folder of user

From Dev

Change the user picture for Git in Xcode

From Dev

How to change the default username of Git

From Dev

How to change the default location of data in HDFS to some permanent location?

From Java

Change the location of the ~ directory in a Windows install of Git Bash

Related Related

  1. 1

    Git bash change default .ssh location

  2. 2

    Change default nginx location

  3. 3

    Change the default journal location

  4. 4

    Where do Xcode projects get created? And can I change default location of a project?

  5. 5

    Where do Xcode projects get created? And can I change default location of a project?

  6. 6

    Change the default location of Pycharm Project

  7. 7

    Change gitolite logs default location

  8. 8

    Local deployment — change the default location

  9. 9

    Change the default program installation location?

  10. 10

    Xcode 5 Git Local Repository Location

  11. 11

    Windows ssh default location for idrsa (git install)

  12. 12

    Command line option to change Xcode DerivedData location

  13. 13

    Change Simulator Location using Xcode's UITesting

  14. 14

    How to change View & partial view default location

  15. 15

    How to change default install location for pip

  16. 16

    How to change the default Visual Studio project location

  17. 17

    How to change the default package generation location in xtext?

  18. 18

    How do I change the default location of mongodb?

  19. 19

    How to change and remove default library location?

  20. 20

    Eclipse Tycho change default source location

  21. 21

    How to change the default location of .vimrc to inside ~/.vim/?

  22. 22

    Change default location for Explorer opened via hotkey

  23. 23

    Change default user configuration file location

  24. 24

    Change default location download of browser by javascript ?

  25. 25

    Change default location of document folder of user

  26. 26

    Change the user picture for Git in Xcode

  27. 27

    How to change the default username of Git

  28. 28

    How to change the default location of data in HDFS to some permanent location?

  29. 29

    Change the location of the ~ directory in a Windows install of Git Bash

HotTag

Archive