title: Paths with -a does not make sense for bash function
body: <p>Here is my bash function.</p>
  
  <pre><code>push() {
  &gt; cd /var/www/html/wp
  &gt; git init
  &gt; git add *
  &gt; git commit -am  $1
  &gt; git push -f origin master
  &gt; }
  </code></pre>
  
  <p>I want to execute it.</p>
  
  <pre><code>debian8@hwy:$push 'to delete file test'       
  Reinitialized existing Git repository in /var/www/html/wp/.git/        
  fatal: Paths with -a does not make sense.     
  </code></pre>
  
  <p>How to fix my bash function push?</p>
  
  <p>The below commands can be executed successfully after <strong>rm /var/www/html/wp/test</strong></p>
  
  <pre><code> cd /var/www/html/wp
   git init
   git add *
   git commit -am  'to delete file test'
   git push -f origin master
  </code></pre>
  
  <p>I just want to write a bash function push to add parameter,to run it such as </p>
  
  <pre><code>push  'to delete file test'
  </code></pre>
  
  <p>To let push function as </p>
  
  <pre><code> push(){
   cd /var/www/html/wp
   git init
   git add *
   git commit -am $1
   git push -f origin master
   }
  </code></pre>