@san-siva/gitsy 1.0.13 → 1.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/bin/g-wr +3 -4
  2. package/bin/utils +2 -0
  3. package/package.json +1 -1
package/bin/g-wr CHANGED
@@ -240,11 +240,10 @@ main() {
240
240
  validate_dependencies git figlet lolcat
241
241
  print_banner
242
242
 
243
- stash_changes $stash 1
244
-
245
- local step_number=2
243
+ local step_number=1
246
244
  if [ "$stash" = true ]; then
247
- step_number=3
245
+ stash_changes $stash $step_number
246
+ step_number=2
248
247
  fi
249
248
 
250
249
  if [ -n "$worktree_name" ]; then
package/bin/utils CHANGED
@@ -323,6 +323,7 @@ create_worktree() {
323
323
  fi
324
324
 
325
325
  print_message "${created_worktree_message}"
326
+ copy_to_clipboard "cd ${worktree_path}" "cd ${worktree_path} copied to clipboard."
326
327
  return 0
327
328
  fi
328
329
 
@@ -339,6 +340,7 @@ create_worktree() {
339
340
  fi
340
341
 
341
342
  print_message "${created_worktree_message}"
343
+ copy_to_clipboard "cd ${worktree_path}" "cd ${worktree_path} copied to clipboard."
342
344
  return 0
343
345
  }
344
346
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@san-siva/gitsy",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "description": "A set of bash utilities for managing Git repositories with ease",
5
5
  "keywords": [
6
6
  "git",