Skip to main content
  1. About
  2. Stack Internal
The 2026 Annual Developer Survey is live— take the Survey today!

Return to Answer

Post Timeline

Second iteration.
Source Link
Peter Mortensen
  • reputation score 30957
  • 22 gold badges
  • 111 silver badges
  • 134 bronze badges
  1. Create a Git file: commit.sh

    #!/bin/sh
    cd c:/Users/Lenovo/Desktop/nalms/src
    git add --all
    timestamp() {
     date +"at %H:%M:%S on %d/%m/%Y"
    }
    git commit -am "Regular auto-commit $(timestamp)"
    git push origin master
    
  2. Open window task scheduler

  3. Create new task

  4. GeneralGeneral → name the task

  5. Go to the trigger section and enable the task scheduler

  6. Press the Done button

  1. Create a Git file: commit.sh

    #!/bin/sh
    cd c:/Users/Lenovo/Desktop/nalms/src
    git add --all
    timestamp() {
     date +"at %H:%M:%S on %d/%m/%Y"
    }
    git commit -am "Regular auto-commit $(timestamp)"
    git push origin master
    
  2. Open window task scheduler

  3. Create new task

  4. General → name the task

  5. Go to trigger section and enable the task scheduler

  6. Press the Done button

  1. Create a Git file: commit.sh

    #!/bin/sh
    cd c:/Users/Lenovo/Desktop/nalms/src
    git add --all
    timestamp() {
     date +"at %H:%M:%S on %d/%m/%Y"
    }
    git commit -am "Regular auto-commit $(timestamp)"
    git push origin master
    
  2. Open window task scheduler

  3. Create new task

  4. General → name the task

  5. Go to the trigger section and enable the task scheduler

  6. Press the Done button

Active reading [<https://en.wikipedia.org/wiki/Git> <https://english.stackexchange.com/questions/4645/is-it-ever-correct-to-have-a-space-before-a-question-or-exclamation-mark#comment206109_4645>].
Source Link
Peter Mortensen
  • reputation score 30957
  • 22 gold badges
  • 111 silver badges
  • 134 bronze badges
  1. createCreate a gitGit file:- commit.shcommit.sh

    #!/bin/sh
    cd c:/Users/Lenovo/Desktop/nalms/src
    git add --all
    timestamp() {
     date +"at %H:%M:%S on %d/%m/%Y"
    }
    git commit -am "Regular auto-commit $(timestamp)"
    git push origin master
    
  2. Open window task scheduler

  3. Create new task

  4. General -> name the task

  5. Go to trigger section and enable the task scheduler

  6. Press donethe Done button

  1. create a git file:- commit.sh

    #!/bin/sh
    cd c:/Users/Lenovo/Desktop/nalms/src
    git add --all
    timestamp() {
     date +"at %H:%M:%S on %d/%m/%Y"
    }
    git commit -am "Regular auto-commit $(timestamp)"
    git push origin master
    
  2. Open window task scheduler

  3. Create new task

  4. General -> name the task

  5. Go to trigger section enable the task scheduler

  6. Press done button

  1. Create a Git file:commit.sh

    #!/bin/sh
    cd c:/Users/Lenovo/Desktop/nalms/src
    git add --all
    timestamp() {
     date +"at %H:%M:%S on %d/%m/%Y"
    }
    git commit -am "Regular auto-commit $(timestamp)"
    git push origin master
    
  2. Open window task scheduler

  3. Create new task

  4. General name the task

  5. Go to trigger section and enable the task scheduler

  6. Press the Done button

Update steps viewage
Source Link
Syscall
  • reputation score 19771
  • 10 gold badges
  • 45 silver badges
  • 60 bronze badges
  1. create a git file :- commit.sh

    create a git file :- commit.sh

    #!/bin/sh
    cd c:/Users/Lenovo/Desktop/nalms/src 
    git add --all
    timestamp() {
     date +"at %H:%M:%S on %d/%m/%Y"
    }
    git commit -am "Regular auto-commit $(timestamp)"
    git push origin master
    
  2. Open window task scheduler

  3. Create new task

  4. General -> name the task

  5. Go to trigger section enable the task scheduler

  6. Press done button

#!/bin/sh
cd c:/Users/Lenovo/Desktop/nalms/src 
git add --all
timestamp() {
 date +"at %H:%M:%S on %d/%m/%Y"
}
git commit -am "Regular auto-commit $(timestamp)"
git push origin master
  1. Open window task scheduler
  2. Create new task
  3. General -> name the task
  4. Go to trigger section enable the task scheduler
  5. Press done button
  1. create a git file :- commit.sh
#!/bin/sh
cd c:/Users/Lenovo/Desktop/nalms/src 
git add --all
timestamp() {
 date +"at %H:%M:%S on %d/%m/%Y"
}
git commit -am "Regular auto-commit $(timestamp)"
git push origin master
  1. Open window task scheduler
  2. Create new task
  3. General -> name the task
  4. Go to trigger section enable the task scheduler
  5. Press done button
  1. create a git file :- commit.sh

    #!/bin/sh
    cd c:/Users/Lenovo/Desktop/nalms/src 
    git add --all
    timestamp() {
     date +"at %H:%M:%S on %d/%m/%Y"
    }
    git commit -am "Regular auto-commit $(timestamp)"
    git push origin master
    
  2. Open window task scheduler

  3. Create new task

  4. General -> name the task

  5. Go to trigger section enable the task scheduler

  6. Press done button

Orlyyn
  • reputation score 2642
  • 2 gold badges
  • 26 silver badges
  • 40 bronze badges
Loading
Source Link
Abhay Kumar
  • reputation score 1
Loading

AltStyle によって変換されたページ (->オリジナル) /