• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

git save contents of git window

 
Ranch Foreman
Posts: 1015
11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I could not find a better place to put this question[size=24] [/size]

I am working in a git window.   I want to keep a copy of what my teacher showed me.  Is there a command to send the contents of the git window to a file?

Thanks,

Kevin
 
Marshal
Posts: 80634
471
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I can try adding you to our Version Control forum.

You can probably use ctrl‑A→ctrl‑C, but why? The whole idea of the version control program is that it records not only the state of your documents when you commit them, but also whatever description you wrote about the changes. So you can find all that information by going back through your history, and you can reload old versions of whatever you wrote. It is all saved in files wherever you decided to put them. So what is the point of your saving all that information to a separate file?
If you use a web‑based Git system, e.g. GitHub, GitLab, all the saving will be done for you and the web company will take care of your files.
 
kevin Abel
Ranch Foreman
Posts: 1015
11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I cannot remember the git command names so I keep having to look at how my manager did this before.  It is a repetitive thing but I keep forgetting what the commands are and what order we do them.  I started to get accustomed to SVN.  Then along came git and I get mixed up.  
Yes please move this to the version control forum.   I looked through the forums and did not see it on our ranch.
 
Campbell Ritchie
Marshal
Posts: 80634
471
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Don't your company have a book? I have a simple introduction to Git: Amazon link.
 
kevin Abel
Ranch Foreman
Posts: 1015
11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Campbell,

I ordered the hard copy book for git.   I read the sample text and it explains exactly what I was having trouble with.  The boss was typing on the command line.  He was talking but nothing made sense.  The author says that he will slow it down for the reader and that's what I need.

Thanks,

Kevin
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic