Posted on Leave a comment

Using Microsoft Word with git

One of the major challenges of writing a journal article is to keep track of versions – both the different versions you create as the document progresses, and to merge in the changes made by your collaborators. For most academics Microsoft Word is the default writing tool, and it is both very good and very bad in this. Very good because the track changes feature makes it easy to see what has changed since the last version and who made the changes. Very bad because this feature is built around keeping everything in a single Word document, so that only one person can work on on a manuscript at a time

Source: Using Microsoft Word with git

Posted on Leave a comment

Git Command ….

git init
git add <file>
git status
git commit
git push

using git bash
touch index.html
git init
git config –global user.name ‘frank kim’
git config –global user.email ‘fafad’
git config –list
git help config
git

git add index.html

git status
git rm –cache index.html
git add *.html
git .
git add -A
git reset

 

git commit
//remove comment, and make it like Initial Commit
git commit –m ‘Changed index.html’

git log

touch .gitignore add text log.txt
touch log.txt

git branch mybranch

to switch different brach.
git checkout mybranch
git checkout master

git push -u origin mybranch

git pull
git branch mybranch
git push origin master

//
git checkout mster
git pull origin master
git branch –merged
git merge mybranch
git push origin master
//

//
git branch –merged
git branch -d mybranch
git brach -a
git push origin –delete mybranch

create github repository.
git remote ***
git remote
git remote -v
git branch -a
git diff “Showing you changes”

git push -u origin master
git pull

Fast Example
git branch subtract
git checkout subtract
git status
git add -A
git commit -m ‘Subtract …’
git push -u origin subtract
git checkout master
git pull origin master
git merge subtract
git push origin master

 

 

 

Posted on Leave a comment

Strikethrough Shortcut Key (Microsoft Word)

Word provides shortcut key combinations for many different formatting options. One common formatting attribute that does not have such a combination is strikethrough. Most people add it by displaying the Font dialog box and then selecting Strikethrough in the Effects area of the dialog box.

You can define your own shortcut key for strikethrough by customizing Word. All you need to do is follow these steps:

    1. Press Ctrl+D or choose Font from the Format menu. Word displays the Font tab of the Font dialog box. (See Figure 1.)

Figure 1. The Font tab of the Font dialog box.

    1. Hold down Alt+Ctrl and, at the same time, press the plus sign on the numeric keypad. The mouse pointer turns into a clover symbol.
    2. Click on the Strikethrough check box in the Font dialog box. (As you move the mouse pointer to get ready to click, the mouse pointer may change back to an arrow instead of a clover; this is OK.) When you click, Word displays the Customize Keyboard dialog box with the insertion point blinking in the Press New Shortcut Key box. (See Figure 2.)

Figure 2. The Customize Keyboard dialog box.

  1. Type whatever shortcut key you want to use for the strikethrough format. Just hold down whatever combination of the AltCtrl, and Shift keys you want, and then press the desired key to go with that combination. If the combination is already taken, that information shows just below the Customize Keyboard dialog box, and you can then change to a different shortcut key. (A good combination to consider is Alt+Shift+S or Ctrl+Alt+S, neither of which are used in a default installation of Word.)
  2. Click the Assign button. The shortcut key is now assigned to apply strikethrough formatting.
  3. Click Close to dismiss the Customize Keyboard dialog box.
  4. Click Cancel to dismiss the Font dialog box.

Source: Strikethrough Shortcut Key (Microsoft Word)