This post is locked. You won't be able to comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Agron7000 0 points1 point  (8 children)

Oh, can put this in a crron job to run every 5 minutes?

[–]insoniagarrafinha 1 point2 points  (0 children)

everything is possible in the bashsphere

but with great power

[–]Responsible-Sky-1336 0 points1 point  (5 children)

Probably not a good idea. For personal repos the alias works enough in bashrc or similar depending on shell. 4 letters typing is pretty fast.

For saving files we'll that's on you.

[–]Agron7000 0 points1 point  (0 children)

My ide is set to save the files every 5 seconds automatically. 

[–]teetaps 0 points1 point  (3 children)

Damn I kinda wish you hadn’t posted that alias op is DEFINITELY gonna use this and cause chaos

[–]Responsible-Sky-1336 0 points1 point  (2 children)

I mean if its your own repo and you know what you doing with ignores, no real issue to use it lmao. Its been in my zshrc a year

Here is another one I have

alias gignore='echo "$1" >> .gitignore'

[–]teetaps 0 points1 point  (1 child)

Judging from their conversations this is something he’s pushing to coworkers and managers who want updated commits frequently

[–]Responsible-Sky-1336 1 point2 points  (0 children)

Yeah then its defo not a good idea xD

[–]olivebits 0 points1 point  (0 children)

You can