You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-7Lines changed: 13 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,14 @@
1
1
# GitSetup
2
-
This repository will setup Git for shell warriors. It includes setup of Posh-git, P4Merge, and several shortcuts
2
+
This repository will setup Git for shell warriors.
3
+
It includes setup of Posh-git, P4Merge, and several shortcuts.
3
4
4
5
* Add a PowerShell profile, if you do not have one. This gives you the shortcut ``g`` for ``git``.
5
-
* Tell PowerShell where Git is located, so the commands can be used
6
+
* Tell PowerShell where Git is located, so the commands can be used.
6
7
* Override the ``~/.gitconfig`` file with a whole lot of new aliases, and set it up to default use P4Merge. Open ``~/.gitconfig`` in your favorite editor to see all of these.
7
-
* Install a light version of P4Merge 2015.2
8
-
* Install [Posh-git](https://github.com/dahlbyk/posh-git) for better overview of Git in PowerShell
9
-
* Setup a proxy for Git, extracting the data from Internet Explorer (should there be any)
10
-
* Setup an SSH-key, which is located under ``~/.ssh/id_rsa.pub`` (use to authorize you with TFS/GitHub/BitBucket/TeamCity/Jenkins/GitLab/...)
8
+
* Install a light version of P4Merge 2015.2.
9
+
* Install [Posh-git](https://github.com/dahlbyk/posh-git) for better overview of Git in PowerShell.
10
+
* Setup a proxy for Git, extracting the data from Internet Explorer (should there be any).
11
+
* Setup an SSH-key, which is located under ``~/.ssh/id_rsa.pub`` (use to authorize you with TFS/GitHub/BitBucket/TeamCity/Jenkins/GitLab/...).
11
12
12
13
13
14
## Step 1 - Installing Git:
@@ -32,7 +33,7 @@ This repository will setup Git for shell warriors. It includes setup of Posh-git
32
33
33
34
## Step 2 - Running the script:
34
35
35
-
Open PowerShell in **Administrator mode**:
36
+
*Open PowerShell in **Administrator mode**:
36
37
37
38
* Replace the first two lines with your own data:
38
39
@@ -54,6 +55,11 @@ cd "$Folderpath/GitSetup-master"
54
55
# Setup PowerShell for Git
55
56
Set-ExecutionPolicy RemoteSigned -Scope Process -Confirm -Force
0 commit comments