Install the perforce command line tools if you do not already have them. Type "help", "copyright", "credits" or "license" for more information. Once installed, you should be able to execute "python" at a command prompt and see output similar to this: C:\Users\elathrop>python To fix this, you can set the TERM environment variable to "msys". When using various git commands, you may get a warning about the terminal: WARNING: terminal is not fully functional See 'git help ' for more information on a specific command. Tag Create, list, delete or verify a tag object signed with GPG Rm Remove files from the working tree and from the index Reset Reset current HEAD to the specified state ![]() Rebase Forward-port local commits to the updated upstream head Push Update remote refs along with associated objects Pull Fetch from and merge with another repository or a local branch Mv Move or rename a file, a directory, or a symlink Merge Join two or more development histories together Init Create an empty git repository or reinitialize an existing one log Show commit logs īisect Find by binary search the change that introduced a bugĬheckout Checkout a branch or paths to the working treeĬlone Clone a repository into a new directoryĭiff Show changes between commits, commit and working tree, etcįetch Download objects and refs from another repository Once installed, you should be able to execute "git" at a command prompt and see output similar to this: C:\Users\elathrop>git Version 1.8.0 didn't work for me because it gave an error about being compiled without python support. The tricky part is getting it all set up on Windows where Git and Python are out of their normal Unix environment. Fortunately, Git has a Python script that lets you interact with Perforce servers using a special "git p4" command set. That worked great for a few weeks until I needed to begin collaborating with other developers who would only use Perforce. ![]() So when I got to work on a new greenfield project, I stuck everything in Git. My company uses Perforce for version control, and it can be painful. ![]() One of the coolest parts of Git is that once you learn it, you will never need to use another VCS. How to set up git-p4 in Windows by Eric Lathrop How to set up git-p4 in Windows
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |