• 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:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

git save contents of git window

 
Ranch Hand
Posts: 191
1
  • 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: 73989
332
  • 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 Hand
Posts: 191
1
  • 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: 73989
332
  • 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.
 
It's never done THAT before. Explain it to me tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic