aboutsummaryrefslogtreecommitdiff
path: root/alias
diff options
context:
space:
mode:
authorIndrajith K L2022-12-03 17:00:20 +0530
committerIndrajith K L2022-12-03 17:00:20 +0530
commitf5c4671bfbad96bf346bd7e9a21fc4317b4959df (patch)
tree2764fc62da58f2ba8da7ed341643fc359873142f /alias
downloadcli-tools-windows-f5c4671bfbad96bf346bd7e9a21fc4317b4959df.tar.gz
cli-tools-windows-f5c4671bfbad96bf346bd7e9a21fc4317b4959df.tar.bz2
cli-tools-windows-f5c4671bfbad96bf346bd7e9a21fc4317b4959df.zip
Adds most of the toolsHEADmaster
Diffstat (limited to 'alias')
-rw-r--r--alias/branches.bat3
-rw-r--r--alias/branchs.bat3
-rw-r--r--alias/g-push.bat4
-rw-r--r--alias/gg.bat3
-rw-r--r--alias/gsts.bat3
-rw-r--r--alias/s.ps13
6 files changed, 19 insertions, 0 deletions
diff --git a/alias/branches.bat b/alias/branches.bat
new file mode 100644
index 0000000..24e26d5
--- /dev/null
+++ b/alias/branches.bat
@@ -0,0 +1,3 @@
+:: Alias for listing all available local git branches
+@echo off
+git branch \ No newline at end of file
diff --git a/alias/branchs.bat b/alias/branchs.bat
new file mode 100644
index 0000000..422f669
--- /dev/null
+++ b/alias/branchs.bat
@@ -0,0 +1,3 @@
+:: Alias to list current branch
+@echo off
+git rev-parse --abbrev-ref HEAD \ No newline at end of file
diff --git a/alias/g-push.bat b/alias/g-push.bat
new file mode 100644
index 0000000..97b8ef1
--- /dev/null
+++ b/alias/g-push.bat
@@ -0,0 +1,4 @@
+:: Alias for git status
+@echo off
+echo Pushing branch  %1 
+git push -u origin %1 \ No newline at end of file
diff --git a/alias/gg.bat b/alias/gg.bat
new file mode 100644
index 0000000..514677b
--- /dev/null
+++ b/alias/gg.bat
@@ -0,0 +1,3 @@
+:: Alias to open git gui
+@echo off
+git gui \ No newline at end of file
diff --git a/alias/gsts.bat b/alias/gsts.bat
new file mode 100644
index 0000000..fc34f62
--- /dev/null
+++ b/alias/gsts.bat
@@ -0,0 +1,3 @@
+:: Alias for git status
+@echo off
+git diff --stat \ No newline at end of file
diff --git a/alias/s.ps1 b/alias/s.ps1
new file mode 100644
index 0000000..f2de4e3
--- /dev/null
+++ b/alias/s.ps1
@@ -0,0 +1,3 @@
+$P = git rev-parse --abbrev-ref HEAD
+
+Write-Host $P -ForegroundColor yellow -BackgroundColor red \ No newline at end of file